package BookTest;

import java.util.Scanner;

public class I11Test {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个四位数的数字：");
        String a =sc.next();
        String right = "(//d^0)//d//1//2";
        if(a.matches(right)){
            System.out.println("输入正确");
        }else{
            System.out.println("输入错误");
        }
    }
}
